package com.zenika.training.wicket.zencontact.pages;

import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.markup.html.link.ExternalLink;

public class AboutPage extends ZenContactBasePage {

	public AboutPage() {
		searchPanel.setVisible(false);

		ExternalLink link = new ExternalLink("linkAbout", "http://www.zenika.com/") {
			protected void onComponentTag(ComponentTag tag) {
				super.onComponentTag(tag);
				tag.put("title", "Zenika.com");
			}
		};
		add(link);
	}

	protected String getPageTitle() {
		return "About page";
	}

}
